import React,{Suspense} from 'react' // 使用 Suspense 懒加载
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
import 'antd/dist/antd.css'

ReactDOM.render(
  <React.StrictMode>
    <Suspense fallback={<>loading....</>}>
    <App />
    </Suspense>
  </React.StrictMode>,
  document.getElementById('root')
)
